package com.jin.webvideo.mapper;

import com.jin.webvideo.entity.ForbidRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AccessMapper {

    void addRecord(ForbidRecord record);
    List<ForbidRecord> findRecordByAddress(String key, long time, String type, String forbidType);
    List<ForbidRecord> findRecordByKey(String key, long time, String type, String forbidType);

}
